// (C) Copyright to Kevin. Applied to MIT LICENSE

#include "BlockGrass.h"

BlockGrass::BlockGrass()
{
}

BlockGrass::~BlockGrass()
{
}

uint32 BlockGrass::GetID()
{
	return BLOCK_ID;
}

bool BlockGrass::IsTransparent()
{
	return false;
}

bool BlockGrass::IsSolid()
{
	return true;
}

FString BlockGrass::GetTexture(int direction, int type)
{
	if (direction == DIRECTION_UP) {
		return TEXT("grass_top");
	}
	else if (direction == DIRECTION_DOWN) {
		return TEXT("dirt");
	}
	else return TEXT("grass_side");
}
